package com.justgame.project.service.art.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.justgame.project.cloud.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
*
* 文章信息表
*
* @tableName art_page_info
* @author Zwb
*/
@Data
@TableName("art_page_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="ArtPageInfo对象", description="文章信息表")
public class ArtPageInfo extends BaseEntity {
    /**
     * 封面图片
     */
    @ApiModelProperty(value = "封面图片")
    private String imageUrl;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 文章内容
     */
    @ApiModelProperty(value = "文章内容")
    private String content;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private Type type;

    /**
     * 观看次数
     */
    @ApiModelProperty(value = "观看次数")
    private Long watchCount;

    /**
     * 分享次数
     */
    @ApiModelProperty(value = "分享次数")
    private Long shareCount;

    /**
     * 点赞次数
     */
    @ApiModelProperty(value = "点赞次数")
    private Long likeCount;

    /**
     * 是否隐藏
     */
    @ApiModelProperty(value = "是否隐藏")
    private Boolean isHidden;

    /**
     * 类型 枚举值
     */
    public enum Type{
    }

}
